﻿using System.Collections.ObjectModel;
using System.ComponentModel;

namespace Bookvar.ObjectModel.Collections
{
    public class TagCollection : ObservableCollection<Tag>
    {
        public Tag AddTag(string name)
        {
            Tag tag = new Tag(name);
            Add(tag);
            return tag;
        }
    }
}